module.exports = function (ast) {
    return ast
        .find('<template></template>')
        .replace(`<el-popover open-delay="$_$1" $$$1>$$$2</el-popover>`, `<el-popover show-after="$_$1" $$$1>$$$2</el-popover>`)
        .replace(`<el-popover close-delay="$_$1" $$$1>$$$2</el-popover>`, `<el-popover hide-after="$_$1" $$$1>$$$2</el-popover>`)
        .replace(`<el-popover :open-delay="$_$1" $$$1>$$$2</el-popover>`, `<el-popover :show-after="$_$1" $$$1>$$$2</el-popover>`)
        .replace(`<el-popover :close-delay="$_$1" $$$1>$$$2</el-popover>`, `<el-popover :hide-after="$_$1" $$$1>$$$2</el-popover>`)
        .replace(`<el-popover hide-after="$_$1" $$$1>$$$2</el-popover>`, `<el-popover auto-close="$_$" $$$1>$$$2</el-popover>`)
        .root();
}